package com.jgk.gwt.recipes.maven.shared;

import java.io.Serializable;

@SuppressWarnings("serial")
public class DemoDetails implements Serializable {
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("DemoDetails [id=");
		builder.append(id);
		builder.append(", displayValue=");
		builder.append(displayValue);
		builder.append("]");
		return builder.toString();
	}
	private String id;
	private String displayValue;
	public static DemoDetails createDemoDetails(String id, String displayValue) {
		DemoDetails demoDetails = new DemoDetails();
		demoDetails.setId(id);
		demoDetails.setDisplayValue(displayValue);
		return demoDetails;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDisplayValue() {
		return displayValue;
	}
	public void setDisplayValue(String displayValue) {
		this.displayValue = displayValue;
	}
}
